import {SETREAD,DELMSG} from './actionTypes'

const setRead = (index) => {
  return {
    type: SETREAD,
    index
  }
}
const delMsg = (index) => {
  return {
    type: DELMSG,
    index
  }
}


export {
  setRead,
  delMsg
}